package hcn.api.service.brandnew.zhenliao;

import ctd.controller.exception.ControllerException;
import ctd.util.annotation.RpcService;
import hcn.cmc.bean.request.AntibacterialDetailsXMLReq;
import hcn.cmc.bean.request.AntibacterialQueryXMLReq;
import hcn.cmc.bean.request.ConfirmMedicinesXMLReq;
import hcn.cmc.bean.response.AntibacterialApplyXMLResp;
import hcn.cmc.bean.response.AntibacterialDetailsXMLResp;
import hcn.cmc.bean.response.ConfirmMedicinesXMLResp;
import hcn.protocol.brandnew.zhenliao.chufang.*;

/**
 * 平台消息模型/公用/v4.0/诊疗类业务/处方
 *
 * @author enjoyLife
 */
public interface ChufangService {


    /**
     * 药品信息查
     */
    @RpcService
    GetDrugsResponse getDrugs(GetDrugsRequest req) throws ControllerException;


    /**
     * 外延处方查
     */
    @RpcService
    GetHistoryEpitaxialDrugsResponse getHistoryEpitaxialDrugs(GetHistoryEpitaxialDrugsRequest req) throws ControllerException;


    /**
     * 门诊开单药房查
     */
    @RpcService
    RecipeDrugstoreResponse recipeDrugstore(RecipeDrugstoreRequest req) throws ControllerException;


    /**
     * 外延医院信息查
     */
    @RpcService
    GetEpitaxialOrganizationResponse getEpitaxialOrganization(GetEpitaxialOrganizationRequest req) throws ControllerException;


    /**
     * 处方信息更
     */
    @RpcService
    DelPrescriptionResponse delPrescription(DelPrescriptionRequest req) throws ControllerException;


    /**
     * 抗菌药记录列表查询
     */
    @RpcService
    AntibacterialApplyXMLResp listAntibacterial(AntibacterialQueryXMLReq req) throws ControllerException;


    /**
     * 抗菌药详细信息查询
     */
    @RpcService
    AntibacterialDetailsXMLResp getAntibacterialInfoDdetails(AntibacterialDetailsXMLReq req) throws ControllerException;

    /**
     * 抗菌药物审核意见提交
     */
    @RpcService
    ConfirmMedicinesXMLResp confirmMedicines(ConfirmMedicinesXMLReq req) throws ControllerException;
}
